/**
 * @author Administrator
 */
public class Task12_2 {
    public static void main(String[] args) {
        int day=1;
        float money=2.5f;

        while (money<=100){
            money+=2.5;
            day++;
            //考虑5天的倍数，要花去6元
            if(day%5==0){
                money-=6;
            }
        }
        System.out.println("第"+day+"天，存了"+money);
    }

}
